<template>
  <a-result status="500" title="服务异常" sub-title="服务异常，请点击回到首页">
    <template #extra>
      <a-button type="primary" @click="goHome">回到首页</a-button>
    </template>
  </a-result>
</template>
<script lang="ts" setup>
const router = useRouter()
const goHome = () => {
  router.push('/')
}
</script>
